package com.like.lazyfragment.ui2

import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.fragment.app.Fragment
import com.like.lazyfragment.R

class Fragment5 : LazyFragment() {
    override fun getLayout(): Int = R.layout.activity_main3
    override fun getString(): String = "555555555555"
    override fun setUserVisibleHint(isVisibleToUser: Boolean) {
        super.setUserVisibleHint(isVisibleToUser)
        Log.e("---------->", "setUserVisibleHint_555555555555555:"+isVisibleToUser)
    }

    override fun onActivityCreated(savedInstanceState: Bundle?) {
        super.onActivityCreated(savedInstanceState)
        Log.e("---------->", "onActivityCreated_5555555555555555")
    }

    override fun onCreateView(
        inflater: LayoutInflater,
        container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View? {
        Log.e("---------->", "onCreateView_5555555555555555")
        return super.onCreateView(inflater, container, savedInstanceState)
    }

    override fun onPause() {
        super.onPause()
        Log.e("---------->", "onPause_5555555555555555")
    }

    override fun onDestroyView() {
        super.onDestroyView()
        Log.e("---------->", "onDestroyView_5555555555555555")
    }

    override fun onDestroy() {
        Log.e("---------->", "onDestroy_5555555555555555")
        super.onDestroy()
    }
}